Using a PDU & Scenario Based Methodology in Testing OO Programs Using a PDU and Scenario Based Methodology in Testing Object-Oriented Programs
نویسنده
چکیده
This paper presents our black-box approach (Tsert Method ©®TM) in testing objectoriented programs based on the use of protocol data units to communicate with a test-harness, which are built by processing the methods of a given class. Testing object-oriented programs has always been difficult, especially in handling inheritance and polymorphism. The approach to be presented, allows the tester, to test classes in a bottom-up manner, thereby handling inheritance and polymorphism, as the subclasses and classes are processed. The use of Protocol Data Units (PDUs) eliminates the need to generate stubs for classes and constructors. Our black-box approach, by handling only publicly accessible constructs, retain the main benefits of object-oriented programs, which are data hiding and abstraction. Index Terms PDU, Tsert, Black-Box, Stub, Scenario, Inheritance, Polymorphism.
منابع مشابه
Syntax-based Vulnerability Testing of Frame-based Network Protocols
Syntax-based vulnerability testing is a static black-box testing method for protocol implementations. It involves testing the Implementation Under Test (IUT) with a large number of mutated Protocol Data Units (PDUs), built by intentionally disobeying the protocol’s syntax. Security vulnerabilities can be discovered by detecting anomalous behaviour or crashes in the IUT (e.g. segmentation faults...
متن کاملContracts for Scenario-Based Testing of Object-Oriented Programs
Testing of a software system is always based on a contract between the system under test and its environment. Formal mathematical methods provide languages that allow defining such contracts unambiguously, soundly, and succinctly. Since object-oriented programs emphasise encapsulation of internal object state and interaction between objects through method calls, it is natural to base a testing ...
متن کاملA New Method for Characterization of Biological Particles in Microscopic Videos: Hypothesis Testing Based on a Combination of Stochastic Modeling and Graph Theory
Introduction Studying motility of biological objects is an important parameter in many biomedical processes. Therefore, automated analyzing methods via microscopic videos are becoming an important step in recent researches. Materials and Methods In the proposed method of this article, a hypothesis testing function is defined to separate biological particles from artifact and noise in captured v...
متن کاملScenario-Based Object-Oriented Test Frameworks for Testing Distributed Systems
Testing is difficult and expensive, and testing distributed system even more difficult due to issues such as interoperability, collaboration, synchronization, timing, and concurrency. A tester often needs to spend significant time in developing lengthy testing code to ensure that the System Under Test (SUT) is reasonably well tested. This paper proposes an Object-Oriented (OO) framework to test...
متن کاملA New Method for Root Detection in Minirhizotron Images: Hypothesis Testing Based on Entropy-Based Geometric Level Set Decision
In this paper a new method is introduced for root detection in minirhizotron images for root investigation. In this method firstly a hypothesis testing framework is defined to separate roots from background and noise. Then the correct roots are extracted by using an entropy-based geometric level set decision function. Performance of the proposed method is evaluated on real captured images in tw...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006